class CreateAssessments < ActiveRecord::Migration
  def self.up
    create_table :assessments do |t|
      t.integer   :user_id, :limit => 11, :default => nil
      t.integer   :q1, :q2, :q3, :q4, :q5, :q6, :q7, :q8, :q9, :q10, :limit => 2, :default => nil

      t.timestamps
    end
  end

  def self.down
    drop_table :assessments
  end
end
